e1000: fix bugs from recent commits
authorWolfgang Denk <[email protected]>
Fri, 28 Oct 2011 05:37:04 +0000 (07:37 +0200)
committerWolfgang Denk <[email protected]>
Thu, 3 Nov 2011 19:33:19 +0000 (20:33 +0100)
commit7a341066117f9eb5eb9385f61176ef6a08b90163
treeb03f87a066fe3325045b0ab33299df40af3f8c2c
parentce5207e191c59b3135303fd03b98dd2ac3701ba2
e1000: fix bugs from recent commits

Commit 114d7fc0 "e1000: Rewrite EEPROM checksum error to give more
information" failed to initialize the checksum variable which should
result in random results. Fix that.

Commit 2326a94d caused a ton of "unused variable 'x'" warnings.
Fix these.  While we are at it, remove some bogus parens.

Signed-off-by: Wolfgang Denk <[email protected]>
Cc: Kyle Moffett <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
Tested-by: Kyle Moffett <[email protected]>
drivers/net/e1000.c
drivers/net/e1000.h